OPTN\Includes\Utils\Utils D

Total Complexity 185
Dependencies 6
Dependents 27
Total lines 869
Lines of code 605
Logical lines of code 361
Comment lines 134
Methods 39
Properties 0

Methods 39

Method Rating Maintainability Complexity Lines of code
sanitize_json_array()
B
34 21 97
check_values()
B
43 21 49
get_embed_hook_and_pos()
A
44 13 47
get_woo_info()
A
44 9 45
validate_query_params()
A
56 9 17
get_edd_info()
A
44 7 45
get_license_info()
S
51 7 27
get_terms_by_id()
S
56 6 18
get_revenue()
S
58 5 16
log_to_file()
S
63 6 10
build_attr_str()
S
59 5 14
get_ip_from_request()
S
59 5 12
get_remote_req_body()
S
54 4 23
clean_values()
S
59 4 16
get_user_info()
S
59 4 14
check_math()
S
62 4 12
get_audio_urls()
S
60 4 12
get_sanitized_query_parameters()
S
64 4 10
get_optin_preview_id()
S
70 3 6
get_template_preview_id()
S
70 3 6
is_preview_mode()
S
76 3 3
get_diff_pct()
S
69 3 6
bin_array_to_dec()
S
68 3 7
log()
S
72 3 5
detect_new_or_returning_visitor()
S
63 3 9
check_prefix()
S
64 3 10
is_debug_mode()
S
72 3 5
is_pro()
S
67 3 7
get_user_hash()
S
70 2 6
get_visitor_types()
S
70 2 6
maybe_remove_prefix()
S
68 2 7
get_license_key()
S
70 2 6
get_past_dates()
S
63 2 10
format_number()
S
66 2 7
get_user_ip()
S
75 1 4
is_valid_json()
S
75 1 4
log_error()
S
79 1 3
is_show_license_page()
S
80 1 3
__construct()
S
98 1 1